R in ActionEfficient data science with R
A demonstration by Md. Aminul Islam Shazid.
Grammar of graphics with ggplot2
ggplot2ggplot2 is an R package that implements the grammar of graphics.More informative: gives a sense of the density too!
To show trend or evolution.
LOESS smoother added as a trend line.
Fast data exploration with DataExplorer
Publication ready tables with gtsummary
This is the so-called table-1
| Characteristic | N = 321 |
|---|---|
| Miles per galon | 19.2 (15.4, 22.8) |
| Horsepower | 123 (97, 180) |
| Weight | 3.33 (2.58, 3.61) |
| 1/4 mile time | 17.71 (16.89, 18.90) |
| Transmission | |
| Auto | 19 (59%) |
| Manual | 13 (41%) |
| Gears | |
| 3 | 15 (47%) |
| 4 | 12 (38%) |
| 5 | 5 (16%) |
| Cylinders | |
| 4 | 11 (34%) |
| 6 | 7 (22%) |
| 8 | 14 (44%) |
| Displacement | 196 (121, 326) |
| 1 Median (IQR); n (%) | |